package com.haidao.admin.component.dao;

import com.haidao.admin.component.entity.KeyCodeInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface KeyCodeDao extends JpaRepository<KeyCodeInfo, Integer> {
    KeyCodeInfo findByUsage(String usage);

}
